package mx.test.dao;

import java.util.List;

import mx.test.bean.User;
import mxDao.framework.annotation.MXDao;
import mxDao.framework.annotation.MXSQL;
import mxDao.framework.dao.MXBaseDaoInterface;

@MXDao
public interface IUserDao extends MXBaseDaoInterface<User> {
	@MXSQL(sql="select * from t_user",entityClass="mx.test.bean.User")
	public List<User> findAll();
	
	@MXSQL(sql="select username from t_user where nickname='mx'")
	public String findusername();
}
